package p2000;

import java.util.Arrays;
import java.util.Scanner;

public class Main2000ASCII码排序 {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextLine()) {
            String str = scanner.nextLine();
            char[] chars = str.toCharArray();

            Arrays.sort(chars);

            for (int i = 0; i < chars.length - 1; i++) {
                System.out.print(chars[i] + " ");
            }

            System.out.println(chars[chars.length - 1]);
        }
    }

}
